import request from '@/utils/request'

// 查询支付申请列表
export function listSubsidyPaymentApplication(query) {
  return request({
    url: '/reimbursement/SubsidyPaymentApplication/list',
    method: 'get',
    params: query
  })
}

// 查询支付申请详细
export function getSubsidyPaymentApplication(id) {
  return request({
    url: '/reimbursement/SubsidyPaymentApplication/' + id,
    method: 'get'
  })
}

// 新增支付申请
export function addSubsidyPaymentApplication(data) {
  return request({
    url: '/reimbursement/SubsidyPaymentApplication',
    method: 'post',
    data: data
  })
}

// 修改支付申请
export function updateSubsidyPaymentApplication(data) {
  return request({
    url: '/reimbursement/SubsidyPaymentApplication',
    method: 'put',
    data: data
  })
}

// 删除支付申请
export function delSubsidyPaymentApplication(id) {
  return request({
    url: '/reimbursement/SubsidyPaymentApplication/' + id,
    method: 'delete'
  })
}
